﻿using DX;
using System.Collections;
using System.Collections.Generic;
using System.DirectoryServices;

namespace Tools.Plugins.Auths
{
  
    public interface IAuthProvider
    {
        IUserProfile FindUser(string account);
        bool ValidateCredentials(string account, string hashPwd);
        void ChangePassword(string account, string oldpassword, string newpassword);
    }
    public interface IUserProfile
    {
        object ID { get; }

        string Name { get; }

        string DisplayName { get;   }

        IDictionary<string, object> Properties { get; }
    }
}
